package com.javaweb;

import lombok.*;
import org.springframework.beans.factory.annotation.Autowired;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course {
    private String id ;
    private String name ;
    @Autowired
    private Teacher teacher ;
}
